//
//  NovelModel.m
//  UI 19_数据库
//
//  Created by dllo on 15/5/11.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "NovelModel.h"

@implementation NovelModel

- (void)dealloc
{
    
    [_songId release];
    [_song_name release];
    [_singer_name release];
    [super dealloc];
}

-(instancetype)initWithSong_name:(NSString *)songName singer_name:(NSString *)singerName songId:(NSString *)songId
{
    if (self = [super init]) {
        self.songId = songId;
        self.singer_name = singerName;
        self.song_name = songName;
       
    }
    return self;
}

+ (NovelModel *)modelWithSong_name:(NSString *)songName singer_name:(NSString *)singerName songId:(NSString *)songId
{
    NovelModel *novel = [[NovelModel alloc] initWithSong_name:songName singer_name:singerName songId:songId ];
    return novel;
}


@end
